{{each deliverPrevueResultList as value index}}  
<div class="ygbox">
    <div class="ygtab">
        <div class="ygtitle">
            <div class="ygt1">关联商品</div>
            <div class="ygt2">预告模板</div>
            <div class="clearit"></div>
        </div>
        <form name="trailer_form" id="trailer_form">
       	<input type="hidden" name="dpId" value="{{value.dp_id}}"/>
        {{each value.dpGoodsContentList as goodsDeliverPrevue index1}}  
        <div class="ygcon">
        	<input type="hidden" name="goodsTemplateList[{{index1}}].goodsId" value="{{goodsDeliverPrevue.goods_id}}"/>
        	<input type="hidden" name="goodsTemplateList[{{index1}}].goodsName" value="{{goodsDeliverPrevue.goods_name}}"/>
        	<!-- <input type="hidden" name="goodsTemplateList[{{index1}}].trailerTemplateId" value="{{goodsDeliverPrevue.trailerTemplateId}}"/> -->
        	<input type="hidden" name="goodsTemplateList[{{index1}}].trailerTemplateName" value="{{goodsDeliverPrevue.dp_content_name}}"/>
            <div class="ygc1">{{goodsDeliverPrevue.goods_name}}</div>
            <div class="ygc2"><i class="iconfont">&#xe60d;</i></div>
            <div class="ygc3 templatenametext">{{goodsDeliverPrevue.dp_content_name}}</div>
            <div class="ygc3 templatenameselect" style="display:none;">
                <select class="form-control select_detail" name="goodsTemplateList[{{index1}}].trailerTemplateId" value="{{goodsDeliverPrevue.dp_content_id}}">
                    <!-- <option>模板名称1</option>
                    <option>模板名称2</option>
                    <option>模板名称3</option> -->
                </select><span class="Validform_checktip Validform_wrong" style="display:none"></span>
            </div>
            <div class="clearit"></div>
        </div>
        {{/each}}
        <!-- 小区 -->
        <div class="ygdq">
            <div class="dq-l">小区</div>
            <div class="dq-r">
                <ul class="ul-dq" id="ul-dq">
                	{{each value.dprevueAreaList as community i}}
                		<li data-id="{{community.community_id}}" class="on">{{community.community_name}}</li>
            		{{/each}}
                </ul>
                <div class="clearit"></div>
                <div class="add-dq" style="display:none;"><a href="javascript:void(0);" class="houseBtn"><i class="iconfont">&#xe60d;</i><span class="add-edit">编辑小区</span></a><span class="Validform_checktip Validform_wrong" style="display:none"></span></div>
            </div>
            <div class="clearit"></div>
            <div class="detailmore">
            <!-- {{each value.communityVoList as community i}}
            	<input type="hidden" name="trailerCommunityList[{{i}}].communityId" value="{{community.communityId}}"/>
            	<input type="hidden" name="trailerCommunityList[{{i}}].communityName" value="{{community.communityName}}"/>
            	{{community.communityName}}
            {{/each}} -->
            	 等<span class="xq-num community_num_clss">{{value.community_num}}</span>个小区，<a href="javascript:void(0);" class="lookall">查看所有小区</a>
            </div>
        </div>
        </form>
        <!-- 按钮 -->
        <div class="btndq">
        	<button class="btn btn-primary trailerSave" style="display:none;">保存</button>
            <button class="btn btn-default trailerCancel" style="display:none;">取消</button>
            <button class="btn btn-primary trailerEdit" data-id="{{value.dp_id}}" >编辑</button>
            <button class="btn btn-default trailerDel" data-id="{{value.dp_id}}" >删除</button>
        </div>
    </div>
</div>
{{/each}}